<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.tjsinfo.tjsoa.documentationflow.dangweishouwen.vo.TDangweishouwenNeirong"%>
<%@page import="com.tjsinfo.tjsoa.documentationflow.dangweishouwen.vo.TDangweishouwenYijian"%>
<%@page import="com.tjsinfo.tjsoa.common.ToolKit"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
TDangweishouwenNeirong dangweishouwenNeirong = (TDangweishouwenNeirong)request.getAttribute("dangweishouwenNeirong");
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
  	<meta http-equiv="x-ua-compatible" content="ie=7" />
    <base href="<%=basePath%>"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>承办单</title>

 <link href="<%=basePath%>style/txlz7.css" rel="stylesheet" type="text/css" />  
 <link href="<%=basePath%>style/shoufatable.css" rel="stylesheet" type="text/css" />  
<body>
                 <!--   承办单开始    -->
   
			 <table width="980px" border="0" align="center" cellpadding="0" cellspacing="0" class="shoutable">
			  <tr>
			    <td height="60" align="center" valign="middle" class="font"><font face="宋体, 楷体_GB2312, 黑体" style="font-size:34px;color:red"></>天津市粮油集团文件承办单</font></td>
			  </tr>
			          <table width="800" height="750" border="1" cellpadding="0" cellspacing="0" bordercolor="#ff0000" align="center" class="shoutable">
			          <tr>
			          <td width="400" height="30" align="left" valign="middle">文件标题：<span><%
                    			       if(dangweishouwenNeirong.getZhaiyou()  == null)
                    		{
                    	%>
                    		&nbsp;
                    	<% 		
                    		}
                    		else
                    		{
                    	%>
                    		<%=dangweishouwenNeirong.getZhaiyou()%>
                    	<% 		
                    		}
                    	%>
            &nbsp;</span></td>
			          <td widht="400" rowspan="9" align="left" valign="top" >领导批示：<br/><span>
			          <%
            		Iterator iterator2 = dangweishouwenNeirong.getTDangweishouwenYijians().iterator();
            		while(iterator2.hasNext())
            		{
            			TDangweishouwenYijian yijian = (TDangweishouwenYijian)iterator2.next();
            			if("领导批办".equals(yijian.getFlowName())  )
            			{
            	%>
            		<span style="padding-left:40px;"><font style="color:#000;"><%=yijian.getOpinion() %></font><br/></span>
	                <span style="padding-left:150px;"><font style="color:#000;font-size:18px;" face="仿宋_GB2312"><b><%=yijian.getExamineUserName()%></b></font></span><br/>
	                 <span style="padding-left:200px;"><font style="color:#000;font-size:12px;"><%=ToolKit.getFormatDate(yijian.getExamineDate(),"yyyy－MM－dd HH:mm:ss") %></font></span><br/>
            	<% 			
            			}
          		
            		}
            	%>
            &nbsp;
			          </span></td>
			          </tr>
			          <tr>
			          <td height="30" align="left" valign="middle">来文单位：<span>
				          <%if(dangweishouwenNeirong.getLaiwenjiguan()  != null){ %>
				          		<%=dangweishouwenNeirong.getLaiwenjiguan() %>
				          <%} %>
			          &nbsp;</span> </td>
			          </tr>
			          <tr>
			          <td height="30" align="left" valign="middle">来文字号：<span>
			           <%if(dangweishouwenNeirong.getLaiwenzihao()  != null){ %>
			          		<%=dangweishouwenNeirong.getLaiwenzihao() %>
			          	<%} %>&nbsp;</span> </td>
			          </tr>
			          <tr>
			          <td height="30" align="left" valign="middle">来文份数： <span>
			          	<%
                    		if(dangweishouwenNeirong.getFengshu()  == null)
                    		{
                    	%>
                    		&nbsp;
                    	<% 		
                    		}
                    		else
                    		{
                    	%>
                    		<%=dangweishouwenNeirong.getFengshu() %>
                    	<% 		
                    		}
                    	%>
            &nbsp;</span></td>
			          </tr>
			          <tr>
			          <td height="30" align="left" valign="middle">来文日期：<span>
			           <%if(dangweishouwenNeirong.getShouwenriqi()  != null){ %>
			          		<%=ToolKit.getFormatDate(dangweishouwenNeirong.getShouwenriqi(),"yyyy年MM月dd日") %>
			          	<%} %>&nbsp;</span></td>
			          </tr>
			          <tr>
			          <td height="30" align="left" valign="middle">总收文编号：<span>
			           <%if(dangweishouwenNeirong.getShouwentype()  != null){ %>
			          			<%=dangweishouwenNeirong.getShouwentype() %> 年<%=dangweishouwenNeirong.getShouwenbianhao()%> 号
			          <%} %>
			          &nbsp;</span></td>
			          </tr>
			          <tr>
			          <td height="35" align="left" valign="middle">缓急程度：<span>
			          <%if(dangweishouwenNeirong.getShouwentype()  != null){ %>
			          	<%=dangweishouwenNeirong.getJinjichengdu() %>
			          <%} %></span> </td>
			          </tr>
			          <tr>
			          <td width="400" height="200" align="left" valign="top">拟办意见：<br/><span><%
            		Iterator iterator1 = dangweishouwenNeirong.getTDangweishouwenBumenYijians().iterator();
            		while(iterator1.hasNext())
            		{
            			TDangweishouwenYijian yijian = (TDangweishouwenYijian)iterator1.next();
            			if("办公室主任批办".equals(yijian.getFlowName()) || "承办部门拟办".equals(yijian.getFlowName()) )
            			{
            	%>
            		<span style="padding-left:40px;"><font style="color:#000;"><%=yijian.getOpinion() %></font><br/></span>
	                <span style="padding-left:150px;"><font style="color:#000;font-size:18px;" face="仿宋_GB2312"><b><%=yijian.getExamineUserName()%></b></font></span><br/>
	                 <span style="padding-left:200px;"><font style="color:#000;font-size:12px;"><%=ToolKit.getFormatDate(yijian.getExamineDate(),"yyyy－MM－dd HH:mm:ss") %></font></span><br/>
           
            	<% 			
            			}
          		
            		}
            	%>
            	&nbsp;
                </span></td>
			          </tr>
			          <tr>
			          <td height="250" align="left" valign="top">承办部门办结情况：<br /><span> <%
            		Iterator iterator3 = dangweishouwenNeirong.getTDangweishouwenBumenYijians().iterator();
            		while(iterator3.hasNext())
            		{
            			TDangweishouwenYijian yijian = (TDangweishouwenYijian)iterator3.next();
            			if("承办部门承办".equals(yijian.getFlowName()))
            			{
            	%>
            		 <span style="padding-left:40px;"><font style="color:#000;"><%=yijian.getOpinion() %></font><br/></span>
	                <span style="padding-left:150px;"><font style="color:#000;font-size:18px;" face="仿宋_GB2312"><b><%=yijian.getExamineUserName()%></b></font></span><br/>
	                 <span style="padding-left:200px;"><font style="color:#000;font-size:12px;"><%=ToolKit.getFormatDate(yijian.getExamineDate(),"yyyy－MM－dd HH:mm:ss") %></font></span><br/>
            	<% 			
            			}
          		
            		}
            	%>
            &nbsp;</span></td>
			          </tr> 
			        </table>
			</table>
			
			<p/>
<!--承办单结束  -->      
  </body>
</html>
